<%@page import="sun.security.util.PathList"%>
<%@page import="com.netcracker.ui.util.HtmlTreeModel"%>
<%@page import="com.netcracker.entity.Genre"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<section id="genres" class="main_margin_top">
    <a class="button">ЖАНРЫ</a>
    <article id="tree" class="main_block_color shadow">
            <%
                String path = request.getContextPath();
                List<Genre> genresList = (List<Genre>) request.getAttribute("genres");
                HtmlTreeModel.contextPath = path;
                
                out.print(HtmlTreeModel.getGenresTree(genresList, 2));
            %>
    </article>

</section><!--genres-->
